import routerView from '@/components/layout/router-view'
export default [
	{
		path: 'user',
		name: 'user',
		meta:{
			icon:"el-icon-user",
			title:"用户",
			hide:false,
		},
		component: routerView,
		children:[
			{
				path: 'list',
				name: 'user-list',
				meta:{
					icon:"el-icon-user",
					title:"用户列表",
				},
				component: () => import('@/views/user/list')
			},
			{
				path: 'add',
				name: 'user-add',
				meta:{
					icon:"el-icon-user",
					title:"新增用户",
				},
				component: () => import('@/views/user/add')
			},
			{
				path: 'detail/:id',
				name: 'user-detail',
				meta:{
					icon:"",
					title:"用户详情",
					hide:true,//不在左侧菜单中显示
					nocache:true,//不在tab标签中缓存
				},
				component: () => import('@/views/user/detail')
			},

		]
	}
]
